package edu.ynu.se.xiecheng.achitectureclass.dao;


import edu.ynu.se.xiecheng.achitectureclass.common.dao.LogicDAO;
import edu.ynu.se.xiecheng.achitectureclass.domain.entity.Item;
import edu.ynu.se.xiecheng.achitectureclass.domain.entity.Shop;
import edu.ynu.se.xiecheng.achitectureclass.domain.entity.ShopItem;

import java.util.List;

public interface ShopItemDao extends LogicDAO<ShopItem,Long> {

     ShopItem findShopItemByItemAndShop(Item item, Shop shop);

     List<ShopItem> findShopItemsByShop(Shop shop);

}
